import request from '@/utils/request'

// 查询日程安排提醒列表
export function listFayAlert(query) {
  return request({
    url: '/cooperate/dayAlert/list',
    method: 'get',
    params: query
  })
}

// 查询日程安排提醒详细
export function getFayAlert(id) {
  return request({
    url: '/cooperate/dayAlert/' + id,
    method: 'get'
  })
}

// 新增日程安排提醒
export function addFayAlert(data) {
  return request({
    url: '/cooperate/dayAlert',
    method: 'post',
    data: data
  })
}

// 修改日程安排提醒
export function updateFayAlert(data) {
  return request({
    url: '/cooperate/dayAlert',
    method: 'put',
    data: data
  })
}

// 删除日程安排提醒
export function delFayAlert(id) {
  return request({
    url: '/cooperate/dayAlert/' + id,
    method: 'delete'
  })
}